
def main():
	t3()
	t4()
	t5()
	t6()
	t7()
	t8()
	t9()
	t10()
	t11()
	t12()
	t13()
	t14()
	t15()

def t3():
	print(6+9)

def t4():
	stu1 = 45
	stu2 = 23
	print(stu1+stu2)

def t5():
	num1 = 2
	num2 = 3
	num3 = 6
	print(num1+num2+num3)

def t6():
	num1 = 45
	num2 = num1
	print(f"num1:{num1},num2:{num2}")

def t7():
	name = input("请输入姓名:")
	age = int(input("请输入年龄:"))
	height = float(input("请输入身高:"))
	weight = float(input("请输入体重:"))
	address = input("请输入居住地址")
	print(f"姓名:{name}\n年龄:{age}岁\n身高:{height}cm\n体重:{weight}kg\n居住地址:{address}")

def t8():
	for i in range(100):
		print(i)
	for i in range(100):
		if i%3 == 0 :
			print(i) 

def t9():
	str = input("请输入英语成绩(以空格分割):")
	scores = [int(x) for x in str.split()]
	[print(i) for i in scores]

def t10():
	str = input("请输入英语成绩(以空格分割):")
	scores = [int(x) for x in str.split()]
	sum = 0
	for i in scores:
		sum += i
	print(i)

def t11():
	[print("*") for _ in range(9)]

def t12():
	[print("*" * (n+1)) for n in range(9)]

def t13():
	[print(i+1) for i in range(9)]

def t14():
	for i in range(9):
		for j in range(i+1):
			print(j+1,end="  ")
		print()	

def t15():
	for i in range(1, 10):
		for j in range(1, i + 1):
			print(f"{j}*{i}={i * j:2d}", end="  ")
		print()


main()